#!/bin/bash

# This file is part of the SHACrypt test suite and is licensed
# under the same license as SHACrypt.

# Description:
# Make an empty file. Attempt to do an asymmetric crypt with
# the password "test" (which should fail)

echo "Test 1: Asymmetric crypt on an empty file"

touch rand1.tmp

$SHACRYPT a test rand1.tmp f1.tmp
result=$?

rm -f rand1.tmp f1.tmp

exit $result